package com.personal.portal.admin.service;

import com.personal.portal.common.entity.Result;
import com.personal.portal.admin.entity.Education;

import java.util.List;

public interface EducationService {
    Education queryById(Long id);

    Education queryByEntity(Education education);

    List<Education> queryList(Education education);

    Result.PageResult<Education> queryPage(int pageNum, int pageSize, Education education);

    int insert(Education education);

    int update(Education education);

    int deleteById(Long id);

    List<Long> deleteBatch(List<Long> ids);
}
